<!--
 * @FilePath     : /study_code/vue2.x/createElement7 copy.html
 * @Description  : 第2参数，props 配置项
 * @Date         : 2025-05-03 10:19:52
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-05-03 10:21:02
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>documentName</title>
    <link rel="stylesheet" href="" />
  </head>
  <body>
    <div id="app">
      <!-- <my-component :msg="altMsg"></my-component> -->
      <!--  -->
    </div>

    <script src="/vue/dist/vue.min.js"></script>
    <script src="./common.js"></script>
    <script>
      Vue.component('PropCom1', {
        props: ['count'],
        render(h) {
          return h('p', {}, [this.count])
        },
      })

      var app = new Vue({
        el: '#app',
        data: function () {},
        render: function (h) {
          return h('prop-com1', {
            props: {
              count: '191',
            },
          })
        },
      })
    </script>
  </body>
</html>
